package com.love.marriage.matchmakerInfo.service;

import com.love.marriage.matchmakerInfo.vo.MatchmakerInfoVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.love.marriage.matchmakerInfo.entity.MatchmakerInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletResponse;

/**
 * 红娘信息表 服务类
 * author: alex
 * createDate: 2024-11-05 22:09:26
 * description: 我是由代码生成器生成
 * version: 1.0.0
 */
public interface MatchmakerInfoService extends IService<MatchmakerInfo> {

    Page<MatchmakerInfoVo> getPage(Long pageNum, Long pageSize, MatchmakerInfoVo matchmakerInfoVo);

    MatchmakerInfoVo queryMatchmakerInfo(Long id);

    MatchmakerInfoVo queryByUserId(Long id);

    MatchmakerInfoVo queryNewMatchmakerByUserId(Long id);

    MatchmakerInfoVo addMatchmakerInfo(MatchmakerInfoVo matchmakerInfoVo);

    MatchmakerInfoVo addInfo(MatchmakerInfoVo matchmakerInfoVo) throws Exception;

    MatchmakerInfoVo updateMatchmakerInfo(MatchmakerInfoVo matchmakerInfoVo);

    Boolean deleteMatchmakerInfo(String ids);

    void exportMatchmakerInfo(MatchmakerInfoVo matchmakerInfoVo, HttpServletResponse response) throws Exception;
}
